package Day11.Ti.ZiFu;

import java.io.FileReader;
import java.io.IOException;

public class Ti01 {
    public static void main(String[] args) throws IOException {
        FileReader fr=new FileReader("H:\\itheima\\aa\\学生名单.txt");
        char[]chars=new char[1024];
        int len;
        while ((len=fr.read(chars))!=-1){
            System.out.println(new String(chars,0,len));
        }
        fr.close();
    }
}
